package cn.fun.spring4.chapter3.demo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zhangxf
 * @title UseHelloService
 * @date 2018/2/28
 * @description
 */
@Service
public class UseHelloService {

    @Autowired
    private HelloService helloService;

    public void sayHello(String name){
        helloService.sayHello(name);
    }
}
